Liver and kidney function tests for patients with chronic liver or kidney diseases